<!DOCTYPE html>
<html lang="en">
<head>
      <meta charset="UTF-8">
    <link rel="stylesheet" href="{{asset('css/app.css')}}">
    <link rel="stylesheet" href="{{asset('css/blog.css')}}">
</head>
<body style="background:#f3f3f3;">
<div class="login_box">
    <h1>BLOG</h1>
    <h2>欢迎使用博客</h2>
    <div class="login_form">
        {{--//判断是否有提示信息--}}
        @if(session('msg'))
        {{--<p style="color:red">用户名错误</p>--}}
            <p style="color:red">{{session('msg')}}</p>
        @endif


        <form action="" method="post">
            <ul>
                <li>
                    <span><i class="fa fa-user"></i></span>
                    <input type="text" name="user_name" class="text"/>
                </li>
                <li>
                    <span><i class="fa fa-lock"></i></span>
                    <input type="password" name="user_pass" class="text"/>
                </li>
                <li>
                    <span><i class="fa fa-check-square-o"></i></span>
                    <input type="text" name="code" class="code"/>
                    {{--<img src="/admin/code" alt="">--}}
                    <img src="{{url('/admin/code')}}" alt="" onclick="this.src='{{url('/admin/code')}}?'+Math.random();">
                </li>
                <li>
                    {{csrf_field()}}
                    <input type="submit" value="立即登录" class="submit"/>

                </li>
            </ul>

        </form>
        <p><a href="#"> 返回首页</a> &copy:2018 Powered by<a href="www.zstarz.com" target="_blank">www.zstarz.com</a></p>
    </div>

</div>
</body>
</html>